package com.zhpan.indicator.base;

import com.zhpan.indicator.options.IndicatorOptions;

import ohos.agp.components.PageSlider;

/**
 * 指示器抽象
 *
 * @since 2021-04-13
 */
public interface IIndicator extends PageSlider.PageChangedListener {
    /**
     * 更新指示器
     */
    void notifyDataChanged();

    /**
     * 设置配置
     *
     * @param options 配置
     */
    void setIndicatorOptions(IndicatorOptions options);
}
